#ifndef GOODS_H
#define GOODS_H
#include<QString>

class goods
{
public:
    goods();
    goods(const QString& num,const QString& name,const double costPrice,const double salePrice,const int repertory,const int buyinNum);


    QString getnum()const;

    QString getName() const;

    double getCostPrice() const;

    double getSalePrice() const;

//    int getSaleNum() const;

    int getRepertory() const;

//    QString getPicPath() const;

    int getBuyinNum() const;

    void setBuyinNum(int value);

    void setRepertory(int value);

private:
    QString num;
    QString name;
   double costPrice;
   double salePrice;
   int buyinNum;
   int repertory;


};

#endif // GOODS_H
